import { createRouter, createWebHistory } from 'vue-router';
import RAdd from '../views/RAdd.vue';
import RShow from '../views/RShow.vue';
import RUpa from '../views/RUpa.vue';

const routes = [
    {
        path: "/",
        name: "RAdd",
        component: RAdd
    },
    {
        path: "/RShow",
        name: "RShow",
        component: RShow
    },
    {
        path: "/RUpa/:R_Id",
        name: "RUpa",
        component: RUpa
    }

]

const router = createRouter({
    history: createWebHistory(),
    routes
})
export default router
